//
//  LGLungFollowEditCell.h
//  HeartDiseaseManage
//
//  Created by 1234 on 2024/7/5.
//  肺癌-随访计划-编辑

#import "LGTableViewCardCell.h"

NS_ASSUME_NONNULL_BEGIN

@protocol LGLungFollowEditTaskDelegate2 <NSObject>

-(void)editTaskAction:(NSString *)action title:(NSString *)title  dataDic:(NSDictionary *)dataDic key:(NSString *)key indexPath:(NSIndexPath *)indexPath;

//关键字
-(void)editKeywords:(NSDictionary *)dataDic indexPath:(NSIndexPath *)indexPath;

//删除
-(void)deleteTaskAtIndexPath:(NSIndexPath *)indexPath;

//添加
-(void)addTaskAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface LGLungFollowEditTaskCell2 : LGTableViewCardCell
/**   */
@property (nonatomic , assign)id <LGLungFollowEditTaskDelegate2> delegate;
/**   */
@property (nonatomic , strong)NSIndexPath *indexPath;
/**   */
@property (nonatomic , assign)NSInteger index;
/**   */
@property (nonatomic , assign)BOOL candelete;

@end




@protocol LGEditTaskItemDelegate <NSObject>

-(void)editTaskAction:(NSString *)action title:(NSString *)title  dataDic:(NSDictionary *)dataDic key:(NSString *)key indexPath:(NSIndexPath *)indexPath;

//关键字
-(void)editKeywords:(NSDictionary *)dataDic indexPath:(NSIndexPath *)indexPath;

//删除
-(void)deleteTaskAtIndexPath:(NSIndexPath *)indexPath;

//添加
-(void)addTaskAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface LGEditTaskItemCell : UITableViewCell
/**   */
@property (nonatomic , assign)id <LGEditTaskItemDelegate> delegate;
/**   */
@property (nonatomic , strong)NSDictionary *dataDic;
/**   */
@property (nonatomic , assign)NSInteger index;

@end

NS_ASSUME_NONNULL_END
